package com.ztmmm.module.qu.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 问题题目
 * </p>
 *
 * @author ztm
 * @since 2023-03-21
 */
@TableName("el_qu")
@ApiModel(value = "Qu对象", description = "问题题目")
public class Qu implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("题目ID")
    private String id;

    @ApiModelProperty("题目类型")
    private Integer quType;

    @ApiModelProperty("1普通,2较难")
    private Integer level;

    @ApiModelProperty("题目图片")
    private String image;

    @ApiModelProperty("题目内容")
    private String content;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("更新时间")
    private Date updateTime;

    @ApiModelProperty("题目备注")
    private String remark;

    @ApiModelProperty("整题解析")
    private String analysis;


    @TableField(exist = false)
    private Integer score;

    public Integer getScore() {
        return score;
    }

    public void setScore(Integer score) {
        this.score = score;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
    public Integer getQuType() {
        return quType;
    }

    public void setQuType(Integer quType) {
        this.quType = quType;
    }
    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }
    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }
    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
    public String getAnalysis() {
        return analysis;
    }

    public void setAnalysis(String analysis) {
        this.analysis = analysis;
    }

    @Override
    public String toString() {
        return "Qu{" +
            "id=" + id +
            ", quType=" + quType +
            ", level=" + level +
            ", image=" + image +
            ", content=" + content +
            ", createTime=" + createTime +
            ", updateTime=" + updateTime +
            ", remark=" + remark +
            ", analysis=" + analysis +
        "}";
    }
}
